{__NOLAYOUT__}
<div toplayer="1" class="wrap-box wrap-pb1 " id="<?php echo $funcid;?>" summaryid="Company" baseurl="<?php echo U('Company/index'); ?>">

   <div class="wrap-box-info ">
      <div class="wrap-title abe-ofl">
         <div class="tit abe-fl">公司信息</div>
         <div class="abe-fr">
               <a href="javascript:void(0);"  class=" vi-blue " default-status="1" onclick="return _asr.openLink('','<?php echo "$funcid"; ?>','刷新',1); "><i class="iconfont ">&#xe611;</i> 刷新</a>
         </div>
      </div>


      <div class="table-box">
         <div class="table-in">
            <div class="pub-par-title ppt-ico-box">
               <span class="abe-fl vi-blue abe-ft14">基本信息</span>
               <div class="abe-fr">
          <?php if (isset($rights['edit_base']) && $rights['edit_base']): ?>
               <a href="javascript:void(0);"  class=" vi-blue vi-blue mlg_10 " default-status="1" onclick="return _asr.popupFun('<?php echo U("/Home/Company/index?func=edit_base&id=$search[id]") ; ?>', '<?php echo filterFuncId("/Home/Company_edit_base","id=$search[id]");?>'); "> 编辑</a>
          <?php endif; ?>
               </div>
            </div>

     <table border="0" cellspacing="0" cellpadding="0" class="pub-table-par">
        <colgroup>
           <col style="width:8%;"/>
           <col style="width:17%;"/>
           <col style="width:8%;"/>
           <col style="width:17%;"/>
           <col style="width:8%;"/>
           <col style="width:17%;"/>
           <col style="width:8%;"/>
           <col style="width:16%;"/>
        </colgroup>
        <tbody>

           <tr class= "even">
             <th>公司代码</th>
             <td><?php echo $search["code"]; ?></td>
             <th>省份</th>
             <td><?php echo $search["province"]; ?></td>
             <th>手机</th>
             <td><?php echo $search["mobile"]; ?></td>
             <th>修改时间</th>
             <td><?php echo system_format("DT", $search["modify_time"],1); ?><em class="abe-space-sm"></em><?php echo $search["modify_user"]; ?></td>
           </tr>
           <tr class= "odd">
             <th>公司简称</th>
             <td><?php echo $search["name"]; ?></td>
             <th>地址</th>
             <td title="<?php echo $search["address"]; ?>"><?php echo OverView($search["address"],150,"..."); ?></td>
             <th>联系人</th>
             <td><?php echo $search["linkman"]; ?></td>
             <th>状态</th>
             <td><?php echo get_table_Company_status("$search[status]","name","0") ; ?></td>
           </tr>
           <tr class= "even">
             <th>公司全称</th>
             <td><?php echo $search["full_name"]; ?></td>
             <th>邮编</th>
             <td><?php echo $search["postcode"]; ?></td>
             <th>创建时间</th>
             <td><?php echo system_format("DT", $search["create_time"],1); ?><em class="abe-space-sm"></em><?php echo $search["create_user"]; ?></td>
             <th></th>
             <td></td>
           </tr>

        </tbody>
     </table>
         </div>
      </div>





       <div class="table-box">
         <div class="table-in">
            <form action="<?php echo U('Company/index?func=view'); ?>" id="<?php echo "$funcid"; ?>-Search" method="get">
                <input type="hidden" name="<?php echo "$funcid"; ?>-last-url" id="<?php echo "$funcid"; ?>-last-url" value="<?php echo $__last_url; ?>" />
                <input type="hidden" name="funcid" value="<?php echo "$funcid"; ?>" />
                <input type="hidden" name="pfuncid" value="<?php echo "$pfuncid"; ?>" />
                <input type="hidden" name="id" value="<?php echo $search["id"]; ?>" />
                <input type="hidden" name="_lastchanged" value="<?php echo $search["lastchanged"]; ?>" />


                <input type="hidden" name="_tab" value="<?php echo $search["_tab"]; ?>" />

                <input type="hidden" name="_tab_wupinxinxi_p" value="<?php echo $search["_tab_wupinxinxi_p"]; ?>" />
                <input type="hidden" name="_tab_wupinxinxi_psize" value="<?php echo $search["_tab_wupinxinxi_psize"]; ?>" />
                <input type="hidden" name="_tab_xiangmuxinxi_p" value="<?php echo $search["_tab_xiangmuxinxi_p"]; ?>" />
                <input type="hidden" name="_tab_xiangmuxinxi_psize" value="<?php echo $search["_tab_xiangmuxinxi_psize"]; ?>" />
                <input type="hidden" name="_tab_chujieshenqing_p" value="<?php echo $search["_tab_chujieshenqing_p"]; ?>" />
                <input type="hidden" name="_tab_chujieshenqing_psize" value="<?php echo $search["_tab_chujieshenqing_psize"]; ?>" />
                <input type="hidden" name="_tab_yanqishenqing_p" value="<?php echo $search["_tab_yanqishenqing_p"]; ?>" />
                <input type="hidden" name="_tab_yanqishenqing_psize" value="<?php echo $search["_tab_yanqishenqing_psize"]; ?>" />
                <input type="hidden" name="_tab_gongsiyonghu_p" value="<?php echo $search["_tab_gongsiyonghu_p"]; ?>" />
                <input type="hidden" name="_tab_gongsiyonghu_psize" value="<?php echo $search["_tab_gongsiyonghu_psize"]; ?>" />
                <input type="hidden" name="_tab_xinxichulirizhi_p" value="<?php echo $search["_tab_xinxichulirizhi_p"]; ?>" />
                <input type="hidden" name="_tab_xinxichulirizhi_psize" value="<?php echo $search["_tab_xinxichulirizhi_psize"]; ?>" />

                  <!--表单-->
                  <div class="order-det-ptab">
                    <div class="od-info abe-fl" >
                      <a href="#" onclick="return _asr.tabsheet('<?php echo $funcid;?>', '<?php echo "$funcid"; ?>-Search', 'wupinxinxi');" <?php if($search['_tab'] == 'wupinxinxi'): ?> class="current"<?php endif;?>>物品信息</a>
                      <a href="#" onclick="return _asr.tabsheet('<?php echo $funcid;?>', '<?php echo "$funcid"; ?>-Search', 'xiangmuxinxi');" <?php if($search['_tab'] == 'xiangmuxinxi'): ?> class="current"<?php endif;?>>项目信息</a>
                      <a href="#" onclick="return _asr.tabsheet('<?php echo $funcid;?>', '<?php echo "$funcid"; ?>-Search', 'chujieshenqing');" <?php if($search['_tab'] == 'chujieshenqing'): ?> class="current"<?php endif;?>>出借申请</a>
                      <a href="#" onclick="return _asr.tabsheet('<?php echo $funcid;?>', '<?php echo "$funcid"; ?>-Search', 'yanqishenqing');" <?php if($search['_tab'] == 'yanqishenqing'): ?> class="current"<?php endif;?>>延期申请</a>
                      <a href="#" onclick="return _asr.tabsheet('<?php echo $funcid;?>', '<?php echo "$funcid"; ?>-Search', 'gongsiyonghu');" <?php if($search['_tab'] == 'gongsiyonghu'): ?> class="current"<?php endif;?>>公司用户</a>
                      <a href="#" onclick="return _asr.tabsheet('<?php echo $funcid;?>', '<?php echo "$funcid"; ?>-Search', 'xinxichulirizhi');" <?php if($search['_tab'] == 'xinxichulirizhi'): ?> class="current"<?php endif;?>>信息处理日志</a>
                    </div>

              <div class="abe-fl screening pbtab-search pbtab-col2">
<!-- 搜索关闭状态，按需要打开
                 <ul class="form form-mod-new">

                 </ul>

搜索关闭状态，按需要打开 -->

              </div>

              <div class="abe-fr">
              </div>
            </div>
          </form>
        </div>
      </div>



              <?php if ($search['_tab']=='wupinxinxi'): ?>
                <div class="table-box">
                  <div class="table-in">
                    <form id="<?php echo "$funcid"; ?>-Result"  action="<?php U('Company/op'); ?>" method="post">
                      <input type="hidden" name="<?php echo "$funcid"; ?>-last-url" id="<?php echo "$funcid"; ?>-last-url" value="<?php echo $__last_url; ?>" />
                      <input type="hidden" name="funcid" value="<?php echo "$funcid"; ?>" />
                      <input type="hidden" name="pfuncid" value="<?php echo "$pfuncid"; ?>" />
                      <input type="hidden" name="id" value="<?php echo $search["id"]; ?>" />
                      <input type="hidden" name="_lastchanged" value="<?php echo $search["lastchanged"]; ?>" />
                      <table border="0" cellspacing="0" cellpadding="0" class="pub-table-par pub-t-faq">
                        <colgroup>
                          <col style="width: 40px ;">
                          <col style="width: 80px ;">
                          <col style="width: 80px ;">
                          <col style="width: 80px ;">
                          <col style="width: 80px ;">
                          <col style="width: 80px ;">
                          <col style="width: 100px ;">
                          <col style="width: 80px ;">
                          <col style="width: 80px ;">
                          <col style="width: 100px ;">
                          <col style="width: 100px ;">
                          <col style="width: 80px ;">
                          <col style="width: 80px ;">
                          <col style="width: 80px ;">
                          <col style="width: 100px ;">
                          <col style="width: 80px ;">
                          <col style="width: 80px ;">
                          <col style="width: 80px ;">
                          <col style="width: 80px ;">
                          <col style="width: 150px ;">
                          <col style="width: 150px ;">
                          <col style="width: auto" >
                        </colgroup>
                        <tbody>
                          <tr>
                            <th><input type="checkbox"  onclick="_asr.selectAll(this);"> &nbsp;#</th>
                            <th>状态</th>
                            <th>所属公司</th>
                            <th>物品类型</th>
                            <th class="abe-txtl">物品分类</th>
                            <th class="abe-txtl">物品编码</th>
                            <th class="abe-txtl">物品名称</th>
                            <th>助记码</th>
                            <th class="abe-txtl">物品条码</th>
                            <th class="abe-txtl">物品描述</th>
                            <th class="abe-txtl">物品图像</th>
                            <th>管控</th>
                            <th>实物</th>
                            <th>保管部门</th>
                            <th class="abe-txtl">保管地点</th>
                            <th>保管人员</th>
                            <th>审核要求</th>
                            <th>允许外借</th>
                            <th class="abe-txtl">关联申请</th>
                            <th>创建时间</th>
                            <th>修改时间</th>
                           <th></th >
                          </tr>
                          <?php if(is_array($list)):
                            $i = 0;
                            $__LIST__ = $list;
                            if( count($__LIST__) == 0) :
                                echo "";
                            else:
                                foreach($__LIST__ as $key=>$master): $mod = ($i % 2 );++$i; ?>
                                  <tr <?php if($mod == "1"): ?>class="even"<?php endif; if($mod == "0"): ?>class="odd"<?php endif; ?>>
                                    <!-- 选择 -->
                                    <td><input type="checkbox" name="Key[]" data-type="select" onclick="_asr.selectMulit(this);" value="<?php echo $master['id'] ;?>">&nbsp; <?php echo $i + ($page_size * ($p - 1)); ?></td>
                                    <td><?php echo get_table_Effects_status("$master[status]","name","") ; ?>
<!--      ---- <?php echo get_table_Effects_status("$master[status]","name",""); ?> --></td>
                                    <td><?php echo get_table_Company_byID("$master[company_id]","name","") ; ?>
<!--      ---- <?php echo get_table_Company_byID("$master[company_id]","name",""); ?> --></td>
                                    <td><?php echo get_table_Effects_type("$master[type]","name","") ; ?>
<!--      ---- <?php echo get_table_Effects_type("$master[type]","name",""); ?> --></td>
                                    <td  class="abe-txtl"><?php echo get_table_EffectsCategory("$master[category_code]","name","") ; ?>
<!--      ---- <?php echo get_table_EffectsCategory("$master[category_code]","name",""); ?> --></td>
                                    <td  class="abe-txtl"><a href="javascript:void(0);" class="vi-blue"  onclick="return _asr.openLink('<?php echo U("/Home/Effects/index?func=view&id=$master[id]"); ?>','<?php echo filterFuncId("/Home/Effects_view","id=$master[id]");?>', '<?php echo tabTitle("物品","$master[code]") ; ?>' ,0); " ><?php echo $master["code"] ; ?>
<!--      ---- <?php echo $master["code"]; ?> --></a></td>
                                    <td  class="abe-txtl"><?php echo $master["name"] ; ?>
<!--      ---- <?php echo $master["name"]; ?> --></td>
                                    <td><?php echo $master["prefix"] ; ?>
<!--      ---- <?php echo $master["prefix"]; ?> --></td>
                                    <td  class="abe-txtl"><?php echo $master["barcode"] ; ?>
<!--      ---- <?php echo $master["barcode"]; ?> --></td>
                                    <td  class="abe-txtl"><div class="newline"><?php echo OverView($master["content"],150,"...") ; ?></div>
<!--      ----<div class="newline"><?php echo OverView($master["content"],150,"..."); ?></div> --></td>
                                    <td  class="abe-txtl"><?php if($master["img"]): ?><a href="<?php echo $master["img"] ;?>" target="_blank" class="vi-blue"   >图像</a><?php endif; ?></td>
                                    <td><?php echo get_table_Effects_is_kef("$master[is_kef]","name","0") ; ?>
<!--      ---- <?php echo get_table_Effects_is_kef("$master[is_kef]","name","0"); ?> --></td>
                                    <td><?php echo get_table_Effects_is_real("$master[is_real]","name","0") ; ?>
<!--      ---- <?php echo get_table_Effects_is_real("$master[is_real]","name","0"); ?> --></td>
                                    <td><?php echo get_table_Department_byID("$master[department_id]","name","") ; ?>
<!--      ---- <?php echo get_table_Department_byID("$master[department_id]","name",""); ?> --></td>
                                    <td  class="abe-txtl"><?php echo $master["address"] ; ?>
<!--      ---- <?php echo $master["address"]; ?> --></td>
                                    <td><?php echo get_table_User_byID("$master[custodian_id]","name","") ; ?>
<!--      ---- <?php echo get_table_User_byID("$master[custodian_id]","name",""); ?> --></td>
                                    <td><?php echo get_table_Effects_approval_require("$master[approval_require]","name","") ; ?>
<!--      ---- <?php echo get_table_Effects_approval_require("$master[approval_require]","name",""); ?> --></td>
                                    <td><?php echo get_table_Effects_allow_borrow("$master[allow_borrow]","name","0") ; ?>
<!--      ---- <?php echo get_table_Effects_allow_borrow("$master[allow_borrow]","name","0"); ?> --></td>
                                    <td  class="abe-txtl"><a href="javascript:void(0);" class="vi-blue"  onclick="return _asr.openLink('<?php echo U("/Home/Apply/index?func=view&no=$master[apply_no]"); ?>','<?php echo filterFuncId("/Home/Apply_view","no=$master[apply_no]");?>', '<?php echo tabTitle("出借","$master[apply_no]","RIGHT","8") ; ?>' ,0); " ><?php echo $master["apply_no"] ; ?>
<!--      ---- <?php echo $master["apply_no"]; ?> --></a></td>
                                    <td><?php echo system_format("DT", $master["create_time"],1) ; ?>
<!--      ---- <?php echo system_format("DT", $master["create_time"],1); ?> --></td>
                                    <td><?php echo system_format("DT", $master["modify_time"],1) ; ?>
<!--      ---- <?php echo system_format("DT", $master["modify_time"],1); ?> --></td>
                                 <td></td>
                                  </tr>
                                  <?php endforeach; ?>
                                <?php
                            endif;
                        else:
                            echo ""
                        ;endif; ?>
                        </tbody>
                      </table>
                    </form>
                  </div>
                </div>
              <?php endif; ?>

              <?php if ($search['_tab']=='xiangmuxinxi'): ?>
                <div class="table-box">
                  <div class="table-in">
                    <form id="<?php echo "$funcid"; ?>-Result"  action="<?php U('Company/op'); ?>" method="post">
                      <input type="hidden" name="<?php echo "$funcid"; ?>-last-url" id="<?php echo "$funcid"; ?>-last-url" value="<?php echo $__last_url; ?>" />
                      <input type="hidden" name="funcid" value="<?php echo "$funcid"; ?>" />
                      <input type="hidden" name="pfuncid" value="<?php echo "$pfuncid"; ?>" />
                      <input type="hidden" name="id" value="<?php echo $search["id"]; ?>" />
                      <input type="hidden" name="_lastchanged" value="<?php echo $search["lastchanged"]; ?>" />
                      <table border="0" cellspacing="0" cellpadding="0" class="pub-table-par pub-t-faq">
                        <colgroup>
                          <col style="width: 40px ;">
                          <col style="width: 80px ;">
                          <col style="width: 80px ;">
                          <col style="width: 80px ;">
                          <col style="width: 100px ;">
                          <col style="width: 100px ;">
                          <col style="width: 150px ;">
                          <col style="width: 150px ;">
                          <col style="width: 100px ;">
                          <col style="width: 150px ;">
                          <col style="width: 150px ;">
                          <col style="width: auto" >
                        </colgroup>
                        <tbody>
                          <tr>
                            <th>序号</th>
                            <th>处理状态</th>
                            <th>公司</th>
                            <th class="abe-txtl">项目编码</th>
                            <th class="abe-txtl">项目名称</th>
                            <th class="abe-txtl">项目地址</th>
                            <th>申请起始</th>
                            <th>申请结束</th>
                            <th class="abe-txtl">备注信息</th>
                            <th>创建时间</th>
                            <th>修改时间</th>
                           <th></th >
                          </tr>
                          <?php if(is_array($list)):
                            $i = 0;
                            $__LIST__ = $list;
                            if( count($__LIST__) == 0) :
                                echo "";
                            else:
                                foreach($__LIST__ as $key=>$master): $mod = ($i % 2 );++$i; ?>
                                  <tr <?php if($mod == "1"): ?>class="even"<?php endif; if($mod == "0"): ?>class="odd"<?php endif; ?>>
                                    <td><?php echo $i + ($page_size * ($p - 1)); ?></td>
                                    <td><?php echo get_table_Project_status("$master[status]","name","") ; ?>
<!--      ---- <?php echo get_table_Project_status("$master[status]","name",""); ?> --></td>
                                    <td><?php echo get_table_Company_byID("$master[company_id]","name","") ; ?>
<!--      ---- <?php echo get_table_Company_byID("$master[company_id]","name",""); ?> --></td>
                                    <td  class="abe-txtl"><a href="javascript:void(0);" class="vi-blue"  onclick="return _asr.openLink('<?php echo U("/Home/Project/index?func=view&id=$master[id]"); ?>','<?php echo filterFuncId("/Home/Project_view","id=$master[id]");?>', '<?php echo tabTitle("项目","$master[code]") ; ?>' ,0); " ><?php echo $master["code"] ; ?>
<!--      ---- <?php echo $master["code"]; ?> --></a></td>
                                    <td  class="abe-txtl"><?php echo $master["name"] ; ?>
<!--      ---- <?php echo $master["name"]; ?> --></td>
                                    <td  class="abe-txtl"><div><?php echo OverView($master["address"],150,"...") ; ?></div>
<!--      ----<div class="newline"><?php echo OverView($master["address"],150,"..."); ?></div> --></td>
                                    <td><?php echo system_format("DT", $master["plan_start_time"],1) ; ?>
<!--      ---- <?php echo system_format("DT", $master["plan_start_time"],1); ?> --></td>
                                    <td><?php echo system_format("DT", $master["plan_end_time"],1) ; ?>
<!--      ---- <?php echo system_format("DT", $master["plan_end_time"],1); ?> --></td>
                                    <td  class="abe-txtl"><div><?php echo OverView($master["remarks"],150,"...") ; ?></div>
<!--      ----<div class="newline"><?php echo OverView($master["remarks"],150,"..."); ?></div> --></td>
                                    <td><?php echo system_format("DT", $master["create_time"],1) ; ?>
<!--      ---- <?php echo system_format("DT", $master["create_time"],1); ?> --></td>
                                    <td><?php echo system_format("DT", $master["modify_time"],1) ; ?>
<!--      ---- <?php echo system_format("DT", $master["modify_time"],1); ?> --></td>
                                 <td></td>
                                  </tr>
                                  <?php endforeach; ?>
                                <?php
                            endif;
                        else:
                            echo ""
                        ;endif; ?>
                        </tbody>
                      </table>
                    </form>
                  </div>
                </div>
              <?php endif; ?>

              <?php if ($search['_tab']=='chujieshenqing'): ?>
                <div class="table-box">
                  <div class="table-in">
                    <form id="<?php echo "$funcid"; ?>-Result"  action="<?php U('Company/op'); ?>" method="post">
                      <input type="hidden" name="<?php echo "$funcid"; ?>-last-url" id="<?php echo "$funcid"; ?>-last-url" value="<?php echo $__last_url; ?>" />
                      <input type="hidden" name="funcid" value="<?php echo "$funcid"; ?>" />
                      <input type="hidden" name="pfuncid" value="<?php echo "$pfuncid"; ?>" />
                      <input type="hidden" name="id" value="<?php echo $search["id"]; ?>" />
                      <input type="hidden" name="_lastchanged" value="<?php echo $search["lastchanged"]; ?>" />
                      <table border="0" cellspacing="0" cellpadding="0" class="pub-table-par pub-t-faq">
                        <colgroup>
                          <col style="width: 40px ;">
                          <col style="width: 80px ;">
                          <col style="width: 80px ;">
                          <col style="width: 80px ;">
                          <col style="width: 80px ;">
                          <col style="width: 80px ;">
                          <col style="width: 100px ;">
                          <col style="width: 80px ;">
                          <col style="width: 150px ;">
                          <col style="width: 150px ;">
                          <col style="width: 80px ;">
                          <col style="width: 100px ;">
                          <col style="width: 80px ;">
                          <col style="width: 100px ;">
                          <col style="width: 150px ;">
                          <col style="width: 100px ;">
                          <col style="width: 80px ;">
                          <col style="width: 80px ;">
                          <col style="width: 80px ;">
                          <col style="width: 100px ;">
                          <col style="width: 80px ;">
                          <col style="width: 80px ;">
                          <col style="width: 150px ;">
                          <col style="width: 80px ;">
                          <col style="width: 80px ;">
                          <col style="width: 100px ;">
                          <col style="width: 80px ;">
                          <col style="width: 100px ;">
                          <col style="width: 80px ;">
                          <col style="width: 80px ;">
                          <col style="width: 80px ;">
                          <col style="width: 80px ;">
                          <col style="width: 100px ;">
                          <col style="width: 80px ;">
                          <col style="width: 80px ;">
                          <col style="width: 80px ;">
                          <col style="width: 80px ;">
                          <col style="width: 150px ;">
                          <col style="width: 150px ;">
                          <col style="width: auto" >
                        </colgroup>
                        <tbody>
                          <tr>
                            <th>序号</th>
                            <th>处理状态</th>
                            <th>公司</th>
                            <th class="abe-txtl">物品申请</th>
                            <th class="abe-txtl">项目申请</th>
                            <th>部门</th>
                            <th class="abe-txtl">项目名称</th>
                            <th>申请人</th>
                            <th>申请起始</th>
                            <th>申请结束</th>
                            <th class="abe-txtl">申请领用人</th>
                            <th class="abe-txtl">申请理由</th>
                            <th class="abe-txtl">物品编码</th>
                            <th class="abe-txtl">物品名称</th>
                            <th>借出时间</th>
                            <th class="abe-txtl">借出备注</th>
                            <th>借出方式</th>
                            <th class="abe-txtl">领用人员</th>
                            <th class="abe-txtl">领用电话</th>
                            <th class="abe-txtl">去向地址</th>
                            <th class="abe-txtl">快递公司</th>
                            <th class="abe-txtl">快递单号</th>
                            <th>归还时间</th>
                            <th class="abe-txtl">归还人员</th>
                            <th>归还方式</th>
                            <th class="abe-txtl">归还备注</th>
                            <th>归还状态</th>
                            <th>距离归还(天)</th>
                            <th>延期次数</th>
                            <th class="abe-txtl">延期申请</th>
                            <th>审批要求</th>
                            <th>审批状态</th>
                            <th class="abe-txtl">拒绝理由</th>
                            <th class="abe-txtl">一级审批</th>
                            <th class="abe-txtl">一级互审</th>
                            <th class="abe-txtl">二级审批</th>
                            <th>逾期状态</th>
                            <th>创建时间</th>
                            <th>修改时间</th>
                           <th></th >
                          </tr>
                          <?php if(is_array($list)):
                            $i = 0;
                            $__LIST__ = $list;
                            if( count($__LIST__) == 0) :
                                echo "";
                            else:
                                foreach($__LIST__ as $key=>$master): $mod = ($i % 2 );++$i; ?>
                                  <tr <?php if($mod == "1"): ?>class="even"<?php endif; if($mod == "0"): ?>class="odd"<?php endif; ?>>
                                    <td><?php echo $i + ($page_size * ($p - 1)); ?></td>
                                    <td><?php echo get_table_Apply_status("$master[status]","name","") ; ?>
<!--      ---- <?php echo get_table_Apply_status("$master[status]","name",""); ?> --></td>
                                    <td><?php echo get_table_Company_byID("$master[company_id]","name","") ; ?>
<!--      ---- <?php echo get_table_Company_byID("$master[company_id]","name",""); ?> --></td>
                                    <td  class="abe-txtl"><a href="javascript:void(0);" class="vi-blue"  onclick="return _asr.openLink('<?php echo U("/Home/Apply/index?func=view&id=$master[id]"); ?>','<?php echo filterFuncId("/Home/Apply_view","id=$master[id]");?>', '<?php echo tabTitle("出借","$master[apply_no]","RIGHT","8") ; ?>' ,0); " ><?php echo $master["apply_no"] ; ?>
<!--      ---- <?php echo $master["apply_no"]; ?> --></a></td>
                                    <td  class="abe-txtl"><a href="javascript:void(0);" class="vi-blue"  onclick="return _asr.openLink('<?php echo U("/Home/ApplyProject/index?func=view&no=$master[apply_project_no]"); ?>','<?php echo filterFuncId("/Home/ApplyProject_view","no=$master[apply_project_no]");?>', '项目物品详情' ,0); " ><?php echo $master["apply_project_no"] ; ?>
<!--      ---- <?php echo $master["apply_project_no"]; ?> --></a></td>
                                    <td><?php echo get_table_Department_byID("$master[department_id]","name","") ; ?>
<!--      ---- <?php echo get_table_Department_byID("$master[department_id]","name",""); ?> --></td>
                                    <td  class="abe-txtl"><?php echo $master["project_name"] ; ?>
<!--      ---- <?php echo $master["project_name"]; ?> --></td>
                                    <td><?php echo get_table_User_byID("$master[user_id]","name","") ; ?>
<!--      ---- <?php echo get_table_User_byID("$master[user_id]","name",""); ?> --></td>
                                    <td><?php echo system_format("DT", $master["plan_start_time"],1) ; ?>
<!--      ---- <?php echo system_format("DT", $master["plan_start_time"],1); ?> --></td>
                                    <td><?php echo system_format("DT", $master["plan_end_time"],1) ; ?>
<!--      ---- <?php echo system_format("DT", $master["plan_end_time"],1); ?> --></td>
                                    <td  class="abe-txtl"><?php echo $master["plan_take_user"] ; ?>
<!--      ---- <?php echo $master["plan_take_user"]; ?> --></td>
                                    <td  class="abe-txtl"><div><?php echo OverView($master["bollow_reason"],150,"...") ; ?></div>
<!--      ----<div class="newline"><?php echo OverView($master["bollow_reason"],150,"..."); ?></div> --></td>
                                    <td  class="abe-txtl"><a href="javascript:void(0);" class="vi-blue"  onclick="return _asr.openLink('<?php echo U("/Home/Effects/index?func=view&no=$master[effects_code]"); ?>','<?php echo filterFuncId("/Home/Effects_view","no=$master[effects_code]");?>', '物品信息详情' ,0); " ><?php echo get_table_Effects("$master[effects_code]","name","") ; ?>
<!--      ---- <?php echo get_table_Effects("$master[effects_code]","name",""); ?> --></a></td>
                                    <td  class="abe-txtl"><?php echo $master["effects_name"] ; ?>
<!--      ---- <?php echo $master["effects_name"]; ?> --></td>
                                    <td><?php echo system_format("DT", $master["bollow_time"],1) ; ?>
<!--      ---- <?php echo system_format("DT", $master["bollow_time"],1); ?> --></td>
                                    <td  class="abe-txtl"><div><?php echo OverView($master["bollow_remarks"],150,"...") ; ?></div>
<!--      ----<div class="newline"><?php echo OverView($master["bollow_remarks"],150,"..."); ?></div> --></td>
                                    <td><?php echo get_table_Apply_bollow_status("$master[bollow_status]","name","") ; ?>
<!--      ---- <?php echo get_table_Apply_bollow_status("$master[bollow_status]","name",""); ?> --></td>
                                    <td  class="abe-txtl"><?php echo $master["take_user"] ; ?>
<!--      ---- <?php echo $master["take_user"]; ?> --></td>
                                    <td  class="abe-txtl"><?php echo $master["take_phone"] ; ?>
<!--      ---- <?php echo $master["take_phone"]; ?> --></td>
                                    <td  class="abe-txtl"><?php echo $master["address"] ; ?>
<!--      ---- <?php echo $master["address"]; ?> --></td>
                                    <td  class="abe-txtl"><?php echo $master["express_name"] ; ?>
<!--      ---- <?php echo $master["express_name"]; ?> --></td>
                                    <td  class="abe-txtl"><?php echo $master["express_no"] ; ?>
<!--      ---- <?php echo $master["express_no"]; ?> --></td>
                                    <td><?php echo system_format("DT", $master["return_time"],1) ; ?>
<!--      ---- <?php echo system_format("DT", $master["return_time"],1); ?> --></td>
                                    <td  class="abe-txtl"><?php echo $master["return_user"] ; ?>
<!--      ---- <?php echo $master["return_user"]; ?> --></td>
                                    <td><?php echo get_table_Apply_return_status("$master[return_status]","name","") ; ?>
<!--      ---- <?php echo get_table_Apply_return_status("$master[return_status]","name",""); ?> --></td>
                                    <td  class="abe-txtl"><div class="newline"><?php echo OverView($master["return_remarks"],150,"...") ; ?></div>
<!--      ----<div class="newline"><?php echo OverView($master["return_remarks"],150,"..."); ?></div> --></td>
                                    <td><?php echo get_table_Apply_effects_status("$master[effects_status]","name","") ; ?>
<!--      ---- <?php echo get_table_Apply_effects_status("$master[effects_status]","name",""); ?> --></td>
                                    <td><?php echo system_format("N3", $master["est_days"],1) ; ?>
<!--      ---- <?php echo system_format("N3", $master["est_days"],1); ?> --></td>
                                    <td><?php echo system_format("N3", $master["apply_delay_times"],1) ; ?>
<!--      ---- <?php echo system_format("N3", $master["apply_delay_times"],1); ?> --></td>
                                    <td  class="abe-txtl"><a href="javascript:void(0);" class="vi-blue"  onclick="return _asr.openLink('<?php echo U("/Home/ApplyDelay/index?func=view&no=$master[apply_delay_no]"); ?>','<?php echo filterFuncId("/Home/ApplyDelay_view","no=$master[apply_delay_no]");?>', '<?php echo tabTitle("延期","$master[apply_delay_no]","RIGHT","8") ; ?>' ,0); " ><?php echo $master["apply_delay_no"] ; ?>
<!--      ---- <?php echo $master["apply_delay_no"]; ?> --></a></td>
                                    <td><?php echo get_table_Apply_approval_require("$master[approval_require]","name","") ; ?>
<!--      ---- <?php echo get_table_Apply_approval_require("$master[approval_require]","name",""); ?> --></td>
                                    <td><?php echo get_table_Apply_approval_status("$master[approval_status]","name","0") ; ?>
<!--      ---- <?php echo get_table_Apply_approval_status("$master[approval_status]","name","0"); ?> --></td>
                                    <td  class="abe-txtl"><div class="newline"><?php echo OverView($master["refuse_reason"],150,"...") ; ?></div>
<!--      ----<div class="newline"><?php echo OverView($master["refuse_reason"],150,"..."); ?></div> --></td>
                                    <td  class="abe-txtl"><a href="javascript:void(0);" class="vi-blue"  onclick="return _asr.openLink('<?php echo U("/Home/User/index?func=view&no=$master[approval1_user1]"); ?>','<?php echo filterFuncId("/Home/User_view","no=$master[approval1_user1]");?>', '用户信息详情' ,0); " ><?php echo get_table_User("$master[approval1_user1]","name","") ; ?>
<!--      ---- <?php echo get_table_User("$master[approval1_user1]","name",""); ?> --></a></td>
                                    <td  class="abe-txtl"><a href="javascript:void(0);" class="vi-blue"  onclick="return _asr.openLink('<?php echo U("/Home/User/index?func=view&no=$master[approval1_user2]"); ?>','<?php echo filterFuncId("/Home/User_view","no=$master[approval1_user2]");?>', '用户信息详情' ,0); " ><?php echo get_table_User("$master[approval1_user2]","name","") ; ?>
<!--      ---- <?php echo get_table_User("$master[approval1_user2]","name",""); ?> --></a></td>
                                    <td  class="abe-txtl"><a href="javascript:void(0);" class="vi-blue"  onclick="return _asr.openLink('<?php echo U("/Home/User/index?func=view&no=$master[approval2_user]"); ?>','<?php echo filterFuncId("/Home/User_view","no=$master[approval2_user]");?>', '用户信息详情' ,0); " ><?php echo get_table_User("$master[approval2_user]","name","") ; ?>
<!--      ---- <?php echo get_table_User("$master[approval2_user]","name",""); ?> --></a></td>
                                    <td><?php echo get_table_Apply_overdue_status("$master[overdue_status]","name","0") ; ?>
<!--      ---- <?php echo get_table_Apply_overdue_status("$master[overdue_status]","name","0"); ?> --></td>
                                    <td><?php echo system_format("DT", $master["create_time"],1) ; ?>
<!--      ---- <?php echo system_format("DT", $master["create_time"],1); ?> --></td>
                                    <td><?php echo system_format("DT", $master["modify_time"],1) ; ?>
<!--      ---- <?php echo system_format("DT", $master["modify_time"],1); ?> --></td>
                                 <td></td>
                                  </tr>
                                  <?php endforeach; ?>
                                <?php
                            endif;
                        else:
                            echo ""
                        ;endif; ?>
                        </tbody>
                      </table>
                    </form>
                  </div>
                </div>
              <?php endif; ?>

              <?php if ($search['_tab']=='yanqishenqing'): ?>
                <div class="table-box">
                  <div class="table-in">
                    <form id="<?php echo "$funcid"; ?>-Result"  action="<?php U('Company/op'); ?>" method="post">
                      <input type="hidden" name="<?php echo "$funcid"; ?>-last-url" id="<?php echo "$funcid"; ?>-last-url" value="<?php echo $__last_url; ?>" />
                      <input type="hidden" name="funcid" value="<?php echo "$funcid"; ?>" />
                      <input type="hidden" name="pfuncid" value="<?php echo "$pfuncid"; ?>" />
                      <input type="hidden" name="id" value="<?php echo $search["id"]; ?>" />
                      <input type="hidden" name="_lastchanged" value="<?php echo $search["lastchanged"]; ?>" />
                      <table border="0" cellspacing="0" cellpadding="0" class="pub-table-par pub-t-faq">
                        <colgroup>
                          <col style="width: 40px ;">
                          <col style="width: 80px ;">
                          <col style="width: 80px ;">
                          <col style="width: 80px ;">
                          <col style="width: 80px ;">
                          <col style="width: 80px ;">
                          <col style="width: 80px ;">
                          <col style="width: 80px ;">
                          <col style="width: 80px ;">
                          <col style="width: 80px ;">
                          <col style="width: 100px ;">
                          <col style="width: 150px ;">
                          <col style="width: 100px ;">
                          <col style="width: 100px ;">
                          <col style="width: 80px ;">
                          <col style="width: 80px ;">
                          <col style="width: 80px ;">
                          <col style="width: 80px ;">
                          <col style="width: 80px ;">
                          <col style="width: 150px ;">
                          <col style="width: 150px ;">
                          <col style="width: auto" >
                        </colgroup>
                        <tbody>
                          <tr>
                            <th>序号</th>
                            <th>处理状态</th>
                            <th>公司</th>
                            <th class="abe-txtl">物品申请</th>
                            <th class="abe-txtl">延期申请</th>
                            <th>部门</th>
                            <th>申请人</th>
                            <th class="abe-txtl">申请人</th>
                            <th>物品</th>
                            <th class="abe-txtl">物品编码</th>
                            <th class="abe-txtl">物品名称</th>
                            <th>延期到期</th>
                            <th class="abe-txtl">延期理由</th>
                            <th class="abe-txtl">延期说明</th>
                            <th>审批要求</th>
                            <th>审批状态</th>
                            <th class="abe-txtl">一级审批</th>
                            <th class="abe-txtl">一级互审</th>
                            <th class="abe-txtl">二级审批</th>
                            <th>创建时间</th>
                            <th>修改时间</th>
                           <th></th >
                          </tr>
                          <?php if(is_array($list)):
                            $i = 0;
                            $__LIST__ = $list;
                            if( count($__LIST__) == 0) :
                                echo "";
                            else:
                                foreach($__LIST__ as $key=>$master): $mod = ($i % 2 );++$i; ?>
                                  <tr <?php if($mod == "1"): ?>class="even"<?php endif; if($mod == "0"): ?>class="odd"<?php endif; ?>>
                                    <td><?php echo $i + ($page_size * ($p - 1)); ?></td>
                                    <td><?php echo get_table_ApplyDelay_status("$master[status]","name","") ; ?>
<!--      ---- <?php echo get_table_ApplyDelay_status("$master[status]","name",""); ?> --></td>
                                    <td><?php echo get_table_Company_byID("$master[company_id]","name","") ; ?>
<!--      ---- <?php echo get_table_Company_byID("$master[company_id]","name",""); ?> --></td>
                                    <td  class="abe-txtl"><a href="javascript:void(0);" class="vi-blue"  onclick="return _asr.openLink('<?php echo U("/Home/Apply/index?func=view&no=$master[apply_no]"); ?>','<?php echo filterFuncId("/Home/Apply_view","no=$master[apply_no]");?>', '<?php echo tabTitle("出借","$master[apply_no]","RIGHT","8") ; ?>' ,0); " ><?php echo $master["apply_no"] ; ?>
<!--      ---- <?php echo $master["apply_no"]; ?> --></a></td>
                                    <td  class="abe-txtl"><a href="javascript:void(0);" class="vi-blue"  onclick="return _asr.openLink('<?php echo U("/Home/ApplyDelay/index?func=view&id=$master[id]"); ?>','<?php echo filterFuncId("/Home/ApplyDelay_view","id=$master[id]");?>', '<?php echo tabTitle("延期","$master[apply_delay_no]","RIGHT","8") ; ?>' ,0); " ><?php echo $master["apply_delay_no"] ; ?>
<!--      ---- <?php echo $master["apply_delay_no"]; ?> --></a></td>
                                    <td><?php echo get_table_Department_byID("$master[department_id]","name","") ; ?>
<!--      ---- <?php echo get_table_Department_byID("$master[department_id]","name",""); ?> --></td>
                                    <td><?php echo get_table_User_byID("$master[user_id]","name","") ; ?>
<!--      ---- <?php echo get_table_User_byID("$master[user_id]","name",""); ?> --></td>
                                    <td  class="abe-txtl"><?php echo $master["user_name"] ; ?>
<!--      ---- <?php echo $master["user_name"]; ?> --></td>
                                    <td><?php echo get_table_Effects_byID("$master[effects_id]","name","") ; ?>
<!--      ---- <?php echo get_table_Effects_byID("$master[effects_id]","name",""); ?> --></td>
                                    <td  class="abe-txtl"><a href="javascript:void(0);" class="vi-blue"  onclick="return _asr.openLink('<?php echo U("/Home/Effects/index?func=view&no=$master[effects_code]"); ?>','<?php echo filterFuncId("/Home/Effects_view","no=$master[effects_code]");?>', '物品信息详情' ,0); " ><?php echo get_table_Effects("$master[effects_code]","name","") ; ?>
<!--      ---- <?php echo get_table_Effects("$master[effects_code]","name",""); ?> --></a></td>
                                    <td  class="abe-txtl"><?php echo $master["effects_name"] ; ?>
<!--      ---- <?php echo $master["effects_name"]; ?> --></td>
                                    <td><?php echo system_format("DT", $master["delay_return"],1) ; ?>
<!--      ---- <?php echo system_format("DT", $master["delay_return"],1); ?> --></td>
                                    <td  class="abe-txtl"><?php echo $master["delay_subject"] ; ?>
<!--      ---- <?php echo $master["delay_subject"]; ?> --></td>
                                    <td  class="abe-txtl"><div class="newline"><?php echo OverView($master["delay_reason"],150,"...") ; ?></div>
<!--      ----<div class="newline"><?php echo OverView($master["delay_reason"],150,"..."); ?></div> --></td>
                                    <td><?php echo get_table_ApplyDelay_approval_require("$master[approval_require]","name","") ; ?>
<!--      ---- <?php echo get_table_ApplyDelay_approval_require("$master[approval_require]","name",""); ?> --></td>
                                    <td><?php echo get_table_ApplyDelay_approval_status("$master[approval_status]","name","0") ; ?>
<!--      ---- <?php echo get_table_ApplyDelay_approval_status("$master[approval_status]","name","0"); ?> --></td>
                                    <td  class="abe-txtl"><a href="javascript:void(0);" class="vi-blue"  onclick="return _asr.openLink('<?php echo U("/Home/User/index?func=view&no=$master[approval1_user1]"); ?>','<?php echo filterFuncId("/Home/User_view","no=$master[approval1_user1]");?>', '用户信息详情' ,0); " ><?php echo get_table_User("$master[approval1_user1]","name","") ; ?>
<!--      ---- <?php echo get_table_User("$master[approval1_user1]","name",""); ?> --></a></td>
                                    <td  class="abe-txtl"><a href="javascript:void(0);" class="vi-blue"  onclick="return _asr.openLink('<?php echo U("/Home/User/index?func=view&no=$master[approval1_user2]"); ?>','<?php echo filterFuncId("/Home/User_view","no=$master[approval1_user2]");?>', '用户信息详情' ,0); " ><?php echo get_table_User("$master[approval1_user2]","name","") ; ?>
<!--      ---- <?php echo get_table_User("$master[approval1_user2]","name",""); ?> --></a></td>
                                    <td  class="abe-txtl"><a href="javascript:void(0);" class="vi-blue"  onclick="return _asr.openLink('<?php echo U("/Home/User/index?func=view&no=$master[approval2_user]"); ?>','<?php echo filterFuncId("/Home/User_view","no=$master[approval2_user]");?>', '用户信息详情' ,0); " ><?php echo get_table_User("$master[approval2_user]","name","") ; ?>
<!--      ---- <?php echo get_table_User("$master[approval2_user]","name",""); ?> --></a></td>
                                    <td><?php echo system_format("DT", $master["create_time"],1) ; ?>
<!--      ---- <?php echo system_format("DT", $master["create_time"],1); ?> --></td>
                                    <td><?php echo system_format("DT", $master["modify_time"],1) ; ?>
<!--      ---- <?php echo system_format("DT", $master["modify_time"],1); ?> --></td>
                                 <td></td>
                                  </tr>
                                  <?php endforeach; ?>
                                <?php
                            endif;
                        else:
                            echo ""
                        ;endif; ?>
                        </tbody>
                      </table>
                    </form>
                  </div>
                </div>
              <?php endif; ?>

              <?php if ($search['_tab']=='gongsiyonghu'): ?>
                <div class="table-box">
                  <div class="table-in">
                    <form id="<?php echo "$funcid"; ?>-Result"  action="<?php U('Company/op'); ?>" method="post">
                      <input type="hidden" name="<?php echo "$funcid"; ?>-last-url" id="<?php echo "$funcid"; ?>-last-url" value="<?php echo $__last_url; ?>" />
                      <input type="hidden" name="funcid" value="<?php echo "$funcid"; ?>" />
                      <input type="hidden" name="pfuncid" value="<?php echo "$pfuncid"; ?>" />
                      <input type="hidden" name="id" value="<?php echo $search["id"]; ?>" />
                      <input type="hidden" name="_lastchanged" value="<?php echo $search["lastchanged"]; ?>" />
                      <table border="0" cellspacing="0" cellpadding="0" class="pub-table-par pub-t-faq">
                        <colgroup>
                          <col style="width: 40px ;">
                          <col style="width: 80px ;">
                          <col style="width: 80px ;">
                          <col style="width: 80px ;">
                          <col style="width: 80px ;">
                          <col style="width: 80px ;">
                          <col style="width: 80px ;">
                          <col style="width: auto" >
                        </colgroup>
                        <tbody>
                          <tr>
                            <th>序号</th>
                            <th>公司</th>
                            <th>部门</th>
                            <th>用户</th>
                            <th class="abe-txtl">用户</th>
                            <th class="abe-txtl">姓名</th>
                            <th>级别</th>
                           <th></th >
                          </tr>
                          <?php if(is_array($list)):
                            $i = 0;
                            $__LIST__ = $list;
                            if( count($__LIST__) == 0) :
                                echo "";
                            else:
                                foreach($__LIST__ as $key=>$master): $mod = ($i % 2 );++$i; ?>
                                  <tr <?php if($mod == "1"): ?>class="even"<?php endif; if($mod == "0"): ?>class="odd"<?php endif; ?>>
                                    <td><?php echo $i + ($page_size * ($p - 1)); ?></td>
                                    <td><?php echo get_table_Company_byID("$master[company_id]","name","") ; ?>
<!--      ---- <?php echo get_table_Company_byID("$master[company_id]","name",""); ?> --></td>
                                    <td><?php echo get_table_Department_byID("$master[department_id]","name","") ; ?>
<!--      ---- <?php echo get_table_Department_byID("$master[department_id]","name",""); ?> --></td>
                                    <td><?php echo get_table_User_byID("$master[user_id]","name","") ; ?>
<!--      ---- <?php echo get_table_User_byID("$master[user_id]","name",""); ?> --></td>
                                    <td  class="abe-txtl"><?php echo $master["code"] ; ?>
<!--      ---- <?php echo $master["code"]; ?> --></td>
                                    <td  class="abe-txtl"><?php echo $master["name"] ; ?>
<!--      ---- <?php echo $master["name"]; ?> --></td>
                                    <td><?php echo get_table_CompanyUser_level("$master[level]","name","") ; ?>
<!--      ---- <?php echo get_table_CompanyUser_level("$master[level]","name",""); ?> --></td>
                                 <td></td>
                                  </tr>
                                  <?php endforeach; ?>
                                <?php
                            endif;
                        else:
                            echo ""
                        ;endif; ?>
                        </tbody>
                      </table>
                    </form>
                  </div>
                </div>
              <?php endif; ?>

              <?php if ($search['_tab']=='xinxichulirizhi'): ?>
                <div class="table-box">
                  <div class="table-in">
                    <form id="<?php echo "$funcid"; ?>-Result"  action="<?php U('Company/op'); ?>" method="post">
                      <input type="hidden" name="<?php echo "$funcid"; ?>-last-url" id="<?php echo "$funcid"; ?>-last-url" value="<?php echo $__last_url; ?>" />
                      <input type="hidden" name="funcid" value="<?php echo "$funcid"; ?>" />
                      <input type="hidden" name="pfuncid" value="<?php echo "$pfuncid"; ?>" />
                      <input type="hidden" name="id" value="<?php echo $search["id"]; ?>" />
                      <input type="hidden" name="_lastchanged" value="<?php echo $search["lastchanged"]; ?>" />
                      <table border="0" cellspacing="0" cellpadding="0" class="pub-table-par pub-t-faq">
                        <colgroup>
                          <col style="width: 40px ;">
                          <col style="width: 80px ;">
                          <col style="width: 150px ;">
                          <col style="width: 80px ;">
                          <col style="width: 80px ;">
                          <col style="width: 100px ;">
                          <col style="width: 100px ;">
                          <col style="width: auto" >
                        </colgroup>
                        <tbody>
                          <tr>
                            <th>序号</th>
                            <th>状态</th>
                            <th>处理时间</th>
                            <th>类型</th>
                            <th class="abe-txtl">代码</th>
                            <th class="abe-txtl">标题</th>
                            <th class="abe-txtl">内容</th>
                           <th></th >
                          </tr>
                          <?php if(is_array($list)):
                            $i = 0;
                            $__LIST__ = $list;
                            if( count($__LIST__) == 0) :
                                echo "";
                            else:
                                foreach($__LIST__ as $key=>$master): $mod = ($i % 2 );++$i; ?>
                                  <tr <?php if($mod == "1"): ?>class="even"<?php endif; if($mod == "0"): ?>class="odd"<?php endif; ?>>
                                    <td><?php echo $i + ($page_size * ($p - 1)); ?></td>
                                    <td><?php echo $master["status"] ; ?>
<!--      ---- <?php echo $master["status"]; ?> --></td>
                                    <td><?php echo system_format("DT", $master["create_time"],1) ; ?>
<!--      ---- <?php echo system_format("DT", $master["create_time"],1); ?> --></td>
                                    <td><?php echo get_table_LogCommon_type("$master[type]","name","") ; ?>
<!--      ---- <?php echo get_table_LogCommon_type("$master[type]","name",""); ?> --></td>
                                    <td  class="abe-txtl"><?php echo $master["data_code"] ; ?>
<!--      ---- <?php echo $master["data_code"]; ?> --></td>
                                    <td  class="abe-txtl"><?php echo $master["subject"] ; ?>
<!--      ---- <?php echo $master["subject"]; ?> --></td>
                                    <td  class="abe-txtl"><div><?php echo OverView($master["content"],150,"...") ; ?></div>
<!--      ----<div class="newline"><?php echo OverView($master["content"],150,"..."); ?></div> --></td>
                                 <td></td>
                                  </tr>
                                  <?php endforeach; ?>
                                <?php
                            endif;
                        else:
                            echo ""
                        ;endif; ?>
                        </tbody>
                      </table>
                    </form>
                  </div>
                </div>
              <?php endif; ?>



      <div class="blank5"></div>
   </div>

   <div class="data-oper" >
        <?php echo $page; ?>
      <div class="data-oper-in " >
          <?php if (isset($rights['selectUser']) && $rights['selectUser']): ?>
               <input type="button" value="编辑用户" class="btn btn-blue mlg_10 " default-status="1" onclick="return _asr.popupFun('<?php echo U("/Home/Company/index?func=selectUser&id=$search[id]") ; ?>', '<?php echo filterFuncId("/Home/Company_selectUser","id=$search[id]");?>'); " />
          <?php endif; ?>
          <div class="abe-fr">
          <?php if (isset($rights['batch_cancel']) && $rights['batch_cancel']): ?>
               <input type="button" value="公司取消" class="btn btn-org mrg_10 " default-status="1" onclick="return _asr.confirm('确认操作', '请确认是否进行 公司取消 操作?', '', '<?php echo U("/Home/Company/index?func=delete&id=$search[id]") ; ?>','','<?php echo "$funcid"; ?>-Result'); " />
          <?php endif; ?>
          </div>
      </div>
   </div>

   <div class="blank30"></div>
</div>
    <script>
        function <?php echo $funcid; ?>_chooseDate(o) {
            if($('.date').length>0)
                pickmeup('.date').destroy();
            $('.date').removeClass('date')
            $(o).addClass('date');
            pickmeup('.date', {
                format  : 'Y-m-d',
                date : $(o).val(),
                hide_on_select : true,
                locale : 'zh'
            }).show();
        }

        $('.calendar0,.calendar1').on('click',function(){
            <?php echo $funcid; ?>_chooseDate(this)
        });

        /***************************************************************************************/
        /* 前台页面初始化                                                                      */
        /***************************************************************************************/
        function <?php echo $funcid; ?>_init(_id){
            return ;
        }


    {:W('Summary/javascript',array('Company'))}


    </script>


